powered by
cpttype(object)<-value
object
cpttype<--methods
x=new("cpt") # new cpt object cpttype(x)<-"mean" # replaces the existing cpttype in object x with "mean"
Run the code above in your browser using DataLab